package com.smartpro.mis.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 标签库表
 * </p>
 *
 * @author mengiy123
 * @since 2019-05-07
 */
@TableName("tags")
public class Tags extends Model<Tags> {

    private static final long serialVersionUID = 1L;

    /**
     * 标签id
     */
    @TableId(value = "tagID", type = IdType.AUTO)
    private Integer tagID;
    /**
     * 标签类别
     */
    private Integer tagType;
    /**
     * 标签名
     */
    private String tag;


    public Integer getTagID() {
        return tagID;
    }

    public void setTagID(Integer tagID) {
        this.tagID = tagID;
    }

    public Integer getTagType() {
        return tagType;
    }

    public void setTagType(Integer tagType) {
        this.tagType = tagType;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @Override
    protected Serializable pkVal() {
        return this.tagID;
    }

    @Override
    public String toString() {
        return "Tags{" +
        "tagID=" + tagID +
        ", tagType=" + tagType +
        ", tag=" + tag +
        "}";
    }
}
